<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>App1976管理系统</title>
<!--                       CSS                       -->
<?php echo $this->load->view('admin/script_css');?>
</head>
<body>
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <?php echo $this->load->view('admin/sidebar');?>
  <!-- End #sidebar -->
  <div id="main-content">
  
    <!-- Main Content Section with everything -->
    <?php echo $this->load->view('admin/top');?>
    <!-- End .shortcut-buttons-set -->
    <div class="clear"></div>
    <!-- End .clear -->
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>添加软件</h3>
        <ul class="content-box-tabs">
          <!--li><a href="#tab1" class="default-tab">表格</a></li-->
          <!-- href must be unique and match the id of target div -->

        </ul>
        <div class="clear"></div>
      </div>
      
      <!-- End .content-box-header -->
      <div class="content-box-content">
      
        <div class="tab-content default-tab" id="tab1">
          <!-- 提示框 -->
          <div class="notification success png_bg"> <a href="#" class="close"><img src="/resources/admin/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
      <div> 请认真填写下面所有信息。 </div>
    </div>
    </div><!-- 提示框 End -->

    <!--表格-->
        <form action="<?php echo site_url('admin/home/software_insert_go');?>" method="post">
            <fieldset>
            <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --><!--small>请注意填写</small-->
            <p>
              <label>提取地址：</label>
              <input class="text-input small-input" type="text" name="title" value=""/>
              <span class="input-notification success png_bg">填写正确</span>
           </p>
                       
            <p>
              <label>软件名：</label>
              <input class="text-input small-input" type="text" name="title" value=""/>
              <span class="input-notification success png_bg">填写正确</span>
           </p>
           
            <p>
              <label>开发商：</label>
              <input class="text-input medium-input datepicker" type="text" name="developer" value="" />
              <span class="input-notification error png_bg">错误信息</span> 
          </p>
          
            <p>
              <label>软件分类</label>
              <select name="category_id" class="small-input">
              <?php foreach ($category as $row):?>
              <option value="<?php echo $row->sid;?>"><?php echo $row->name;?></option>
              <?php endforeach;?>
              
              </select>
              <span class="input-notification success png_bg">填写正确</span>
            </p>
            
            <p>
              <label>更新日期</label>
              <input class="text-input small-input" type="text" name="uptime" value="<?php echo date('Y年n月d日',time())?>" />
              <span class="input-notification error png_bg">填写正确</span>
              <br /><br />
              <small>官方更新日期</small>
              </p>
            
              <p>
              <label>系统要求</label>
               <input class="text-input medium-input " type="text" name="system" value="" />
              <span class="input-notification success png_bg">填写正确</span>
            </p>

              <p>
              <label>软件版本</label>
               <input class="text-input small-input " type="text" name="version" value="" />
              <span class="input-notification success png_bg">填写正确</span>
            </p>
            
            <p>
              <label>语言</label>
              <input class="text-input medium-input " type="text" name="language" value="" />
              <span class="input-notification success png_bg">填写正确</span>
            </p>
            
            <p>
              <label>适用设备</label>
              <input class="text-input small-input" type="text" name="app" value="" />
              <span class="input-notification success png_bg">填写正确</span>
            </p>
            
            <p>
              <label>软件等级</label>
              <select name="grade" class="small-input">
                <option value="限17岁以上">限17岁以上</option>
                <option value="限12岁以上">限12岁以上</option>
                <option value="限7岁以上">限7岁以上</option>
                <option value="限4岁以上">限4岁以上</option>
              </select>
            </p>

            <p>
              <label>下载次数</label>
              <input class="text-input small-input" type="text" name="down" value="" />
              <span class="input-notification success png_bg">填写正确</span>
              <br /><br />
              <small>纯数字</small>
            </p>
            
            <p>
              <label>官方地址</label>
              <input class="text-input medium-input " type="text" name="iurl" value="" />
              <span class="input-notification success png_bg">填写正确</span>
            </p>

            <p>
              <label>缩略图75*75</label>
              <input class="text-input medium-input " type="text" name="img1" value="" />
              <span class="input-notification success png_bg">填写正确</span>
            </p>
            
            <p>
              <label>缩略图100*100</label>
              <input class="text-input medium-input " type="text" name="img2" value="" />
              <span class="input-notification error png_bg">错误信息</span> 
            </p>
            
            <p>
              <label>缩略图175*175</label>
              <input class="text-input medium-input " type="text" name="img3" value="" />
              <span class="input-notification success png_bg">填写正确</span>
            </p>
              
            <p>
              <label>是否破解版</label>
              <input type="radio" name="cracked" />是
              <input type="radio" name="cracked" checked="checked" />否 
              <span class="input-notification success png_bg">填写正确</span>
            </p>
              
            <p>
              <label>远程服务器地址</label>
              <input class="text-input large-input" type="text" name="url" value="" />
            </p>
            
            <p>
              <label>软件大小</label>
              <input class="text-input small-input " type="text" name="size" value="" />
              <span class="input-notification success png_bg">填写正确</span>
            </p>
            
            
            <!--p>
              <label>是否推荐</label>
              <input type="checkbox" name="checkbox1" />
              是
              <input type="checkbox" name="checkbox2" />
              否 </p-->
              
            <p>
              <label>是否推荐</label>
              <input type="radio" name="recommend" />是
              <input type="radio" name="recommend" checked="checked" />否 
              <span class="input-notification success png_bg">填写正确</span>
            </p>

            <p>
              <label>幻灯片图片</label>
              <textarea name="photo" cols="79" rows="8"></textarea>
            </p>
              
            <p>
              <label>新版功能</label>
              <textarea name="features" cols="79" rows="8"></textarea>
            </p>
              
            <p>
              <label>内容提要</label>
              <textarea name="content" cols="79" rows="8"></textarea>
            </p>
            
            <p>
              <input class="button" type="submit" name="submit" value="提 交" />
            </p>
            
            </fieldset>
            <div class="clear"></div>
            <!-- End .clear -->
          </form>
          <!--表格 End-->

      </div>
      
      <!-- End .content-box-content -->
    </div>

    <!-- End .content-box -->
    <div class="clear"></div>
    
    <div class="notification error png_bg"> <a href="#" class="close"><img src="/resources/admin/images/icons/cross_grey_small.png" title="关闭"/></a>
      <div> Error notification. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vulputate, sapien quis fermentum luctus, libero. </div>
    </div>
    
    <!-- Start Notifications -->
    <?php echo $this->load->view('admin/footer');?>
    <!-- End #footer -->
  </div>
  <!-- End #main-content -->
</div>
</body>
<!-- Download From www.exet.tk-->
</html>
